package com.sto.stoapp.broadcast;

import com.sto.stoapp.util.Helper;
import com.sto.stoapp.widget.BaseActivity;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class LogoutDelDataBroad extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		if (BaseActivity.CLOSE_THIS_ACTIVITY_ACTION.equals(intent.getAction())) {
			System.out.println("清除数据");
			Helper.loginOut(context);
		}

	}

}
